home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 15 / BBS in a box XV-1.iso / Files / Internet / Info / Internet Roadmap.sit / Internet Roadmap ƒ / Map 11 Telnet (Part 1)↵ < prev    next >
Encoding:
Text File  |  1995-02-14  |  10.2 KB  |  232 lines  |  [ttro/ttxt]

  1. MAP11: TELNET (PART 1)
  2. ----------------------
  3.  
  4.      "Thanks to the interstate highway system, it is now possible
  5.       to travel across the country from coast to coast without
  6.       seeing anything." -- Charles Kuralt, On the Road
  7.  
  8.  
  9. We are about to enter a new section of this workshop. For the past
  10. week, we have talked about communicating on a one-to-one basis
  11. (e-mail) and on a one-to-many basis (LISTSERV and Usenet).
  12.  
  13. Today, I'm going to show you how to log in to other computers around
  14. the world and take full advantage of the public programs and services
  15. that these other computers offer.
  16.  
  17. There is some bad news, though. Some of you, especially a good
  18. number of you with "level one" Internet access, do not have access
  19. to TELNET. If this is true for you, please accept my apologies.
  20. I promise to make it up to you next week when I show you File
  21. Transfer Protocol -- and besides, you can always take today's lesson
  22. and tomorrow's lesson and bug your local Internet provider into
  23. offering TELNET (you can also save this lesson for the day
  24. that you do have TELNET access).
  25.  
  26. With TELNET, the commands that you type on your keyboard are sent
  27. from your terminal to your local Internet service provider, and
  28. then from your provider to the remote computer that you have
  29. accessed. Unlike the LISTSERV commands that you sent last week
  30. that took CENTURIES to process (okay, a *slight* exaggeration),
  31. TELNET commands (usually) travel so fast that you can't even
  32. tell that you are using a remote computer.
  33.  
  34. So what can you do with this ability to log into remote computers?
  35. If your local Internet provider allows it, it is possible for you
  36. to TELNET into your account from another city and check your e-mail
  37. while you are on vacation or away on business. You can also TELNET
  38. into huge databases to do research, or even TELNET into libraries
  39. around the world to check if they have a certain book that you
  40. are looking for. TELNET also offers an easy entry into the world
  41. of Gophers and the World Wide Web for those people who may not
  42. otherwise have access to these tools.
  43.  
  44. Last Tuesday (in MAP04: E-MAIL), I showed you that an Internet
  45. address for a user looked something like: user@address. Well, since
  46. we are no longer interested in the person -- we want to access the
  47. computer, not the person -- we can throw away both the "user" and the
  48. "@" part. All we care about now is the stuff *after* the @.
  49.  
  50. TELNET addresses look something like this:
  51.  
  52.      seabass.st.usm.edu        cybernet.cse.fau.edu
  53.      bbhost.hq.eso.org         fedworld.gov
  54.      128.118.36.5              192.160.13.1
  55.  
  56. Gee ... that's easy. Also notice that TELNET addresses can be
  57. in domain name format (i.e. seabass.st.usm.edu) or in IP
  58. address format (i.e. 120.118.36.5). (Note: both the domain
  59. name system and the IP address system were discussed in MAP04:
  60. E-MAIL).
  61.  
  62. You may also see TELNET addresses with numbers stuck on the
  63. END of them. Those numbers are "port" numbers. Port numbers don't
  64. have anything to do with hardware ports on the computer; instead
  65. they are (sort of) a way for you to tell the remote computer which
  66. program or server you want it to pull up. A TELNET address with a port
  67. number allows you not only to access a remote computer, but to also
  68. pull up a specific program or server on that remote computer (BTW, the
  69. standard port number is port 23):
  70.  
  71.      seabass.st.usm.edu 23     cybernet.cse.fau.edu 2010
  72.      bbhost.hq.eso.org 6969    fedworld.gov 4242
  73.      128.118.36.5 23           192.160.13.1 66
  74.  
  75. We seem to have the addresses down pat. Now for the fun stuff!
  76.  
  77. There are seven steps to a successful TELNET session. These steps
  78. are all based on simple common sense, and I will explain them all
  79. in a minute. But first, here are the seven steps:
  80.  
  81.      1. Start-up the TELNET program
  82.      2. Give the TELNET program an address to connect to
  83.         (BTW, some really nifty TELNET packages allow you
  84.         to combine steps 1 and 2 into one simple step!)
  85.      3. Make a note of what the "escape character" is
  86.      4. Log in to the remote computer
  87.      5. Set the "terminal emulation"
  88.      6. Play around on the remote computer
  89.      7. Quit
  90.  
  91. Now let's talk about each of these steps. There are a lot of different
  92. TELNET software programs around, but each of these programs operate on
  93. the same basic principles. (BTW, my explanation may be a little
  94. "mainframe-y" but you will soon discover that you can easily
  95. translate my explanation so that you can use TELNET in Windows
  96. or on a Macintosh).
  97.  
  98. Starting the TELNET program is easy. All most of you have to do is
  99. type the word TELNET on your command line, and the program will
  100. start right up. If you are using Windows or a Macintosh (or
  101. an equivalent), double-click on the TELNET icon.
  102.  
  103. The second step is to give the TELNET program the address of
  104. the computer that you want to access. This is where the programs
  105. start to differ. Some programs will automatically ask you to enter
  106. the address of the remote host, but most won't. If your program
  107. does not automatically ask you for the address, you need to type
  108.  
  109.           open <site address> <port number>
  110.  
  111. on the command line. For example, to get TELNET access to
  112. YALEINFO.YALE.EDU 7000, you would type OPEN YALEINFO.YALE.EDU 7000.
  113. (If you are using Windows or a Mac, the OPEN command may be
  114. located on a pull-down menu). If you don't include the port
  115. number, TELNET will automatically assume that you want to
  116. connect to port 23.
  117.  
  118. Remember when I said that some nifty TELNET programs allow you
  119. start-up the TELNET program and access the address all in one
  120. easy step? Instead of doing the two steps I just went over, you
  121. may be able to just type
  122.  
  123.           telnet <site address> <port number>
  124.  
  125. on the command line (for example: TELNET YALEINFO.YALE.EDU 7000).
  126.  
  127. After you have told TELNET which computer you want it to access, and
  128. right before you gain access to the remote computer's login screen,
  129. you will see something like this:
  130.  
  131.      telnet YALEINFO.YALE.EDU 7000
  132.      Trying 130.132.21.53 Port 7000 ...
  133.      Connected to YALEINFO.YALE.EDU
  134.      Escape character is ...
  135.  
  136. This tells you that your TELNET program is trying to access the
  137. YALEINFO.YALE.EDU 7000 address, gives the IP address for YALEINFO
  138. (remember those from MAP04?), tells you when you are connected,
  139. and gives you the escape character. REMEMBER THE ESCAPE CHARACTER!
  140. You are going to need it in a second :)
  141.  
  142. The next step is to log in to the remote computer. Everyone should
  143. know how to log in to a computer by now ;)    <=== a winking smiley
  144.  
  145. If you are accessing a public site, the "login" -- the "password"
  146. that you need to access the remote computer -- will probably be
  147. publicly known. For example, tomorrow I will send you a list of
  148. several dozen TELNET sites, including their addresses and logins.
  149. Some public sites even TELL you what the login is when you TELNET
  150. to them! Heck, some TELNET sites are wide open and do not require
  151. a login or password at all!!
  152.  
  153. The fifth step is to set the terminal emulation. All this means is that
  154. you are going to tell the remote site how data should be shown on
  155. your screen. The most common terminal emulation setting is VT100,
  156. which is the standard for terminal-based communications.
  157.  
  158. If you do not have a VT100 terminal, or a terminal that can pretend
  159. its a VT100 terminal. you may have to set your terminal emulation
  160. to either your correct terminal type or, if you do not know your
  161. your correct terminal type, to a "dumb" terminal emulation.
  162.  
  163. Fortunately, some TELNET sites automatically take care setting the
  164. terminal emulation for you, so you don't even have to worry about
  165. it.
  166.  
  167. If you end up with a screen full of gibberish, chances are you did
  168. not use the correct terminal emulation setting. Your best bet if this
  169. happens is to disconnect from the site and try again.
  170.  
  171. I think you can figure out the sixth step -- play around on the
  172. remote computer -- all by yourself :)
  173.  
  174. The final step is to quit. Some sites are nice and tell you how to
  175. do this, but most expect you to figure out how to quit on your
  176. own. That is where the escape character comes in!
  177.  
  178. Remember that once you access the remote computer, every keystroke
  179. of yours will be carried out not on your computer but on the remote
  180. computer! Typing the escape character (usually the control key and the
  181. right bracket key pressed at the same time) temporarily interrupts
  182. your TELNET session and puts you into the TELNET command mode.
  183.  
  184. Once you are in the command mode, you can use a couple of commands:
  185.  
  186.      CLOSE       Closes your TELNET connection to the remote computer
  187.                  and either returns you to the command mode (if you
  188.                  started in the command mode) or quits TELNET.
  189.      QUIT        Quits the TELNET program; if you are connected to
  190.                  a remote computer, QUIT will disconnect you from
  191.                  the remote computer and then quit TELNET.
  192.      SET ECHO    If you can't see what you are typing, or if you
  193.                  type and see double, this command should take
  194.                  care of the problem
  195.      <ENTER>     (or <RETURN>) Pressing the enter or return key
  196.                  will take you out of TELNET command mode and
  197.                  return you to your TELNET session.
  198.      OPEN        Opens a connection to a remote computer
  199.  
  200. So, if you are in the middle of a TELNET session and you decide
  201. to quit, you would type the escape character to enter the TELNET
  202. command mode, and then type the word QUIT.
  203.  
  204. One last thing and I will let you go: regular TELNET does not
  205. work if you are trying to TELNET to an IBM 3270 mainframe computer.
  206. You'll have to use TN3270 instead. It works just like TELNET,
  207. only the keys on your keyboard may change a little (IBM uses
  208. something called map3270 to lay out the keys, and IBM uses a
  209. lot of function keys).
  210.  
  211. HOMEWORK
  212.  
  213.      Study this lesson carefully. Tomorrow I am going to send
  214.      you a huge list of TELNET addresses, and turn you loose
  215.      to wreak havok on the Internet :)
  216.  
  217.      Also, a not-so-subtle hint: we just ended one section of
  218.      the workshop and entered a new one. What does the teacher
  219.      usually give you when a class section ends?
  220.  
  221.      Study hard >:)        <===== that's a devil smiley
  222.  
  223.  
  224.    PATRICK DOUGLAS CRISPEN    THE VIEWS EXPRESSED IN THIS LETTER DO NOT
  225.     PCRISPE1@UA1VM.UA.EDU      NECESSARILY REPRESENT THE VIEWS OF THE
  226.   THE UNIVERSITY OF ALABAMA      UNIVERSITY OF ALABAMA - TUSCALOOSA
  227.  
  228.       ROADMAP: COPYRIGHT PATRICK CRISPEN 1994. ALL RIGHTS RESERVED.
  229.  
  230.  
  231.  
  232.